package com.itgaohe.common.constant;

public class RedisConstants {

    /**
     * 用户登入验证码相关常量
     */

    public static final String LOGIN_CODE_KEY = "login:code:";
    public static final Long LOGIN_CODE_TTL = 2L;

    /**
     * 用户登入存入 redis 中的 token 相关常量
     */

    public static final String LOGIN_USER_KEY = "login:token:";
    public static final Long LOGIN_USER_TTL = 36000L;
    public static final String CACHE_LIKE_KEY = "cache:like:";
    public static final String SYNC_SET_KEY = "sync:set:";
}
